/***********************************************************************
 * Module:  DeviceTypeController.java
 * Author:  Administrator
 * Purpose: Defines the Class DeviceTypeController
 ***********************************************************************/

package ishitong.deviceManagement.controller;

import ishitong.commons.pagination.Pagination;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 1817dde2-0343-499c-926b-435af0303658 */
@Controller
public class DeviceTypeController extends ishitong.common.controller.ActionController {
   /** @pdOid 21e4bf70-d55d-4d86-aeb4-b6559f2e5c42 */
   private static final String DT_SCH = "/deviceManagement/deviceType/deviceTypeSearch";
   /** @pdOid 31b3a00c-47a0-42db-84f6-0a073ef89411 */
   private static final String DT_SCH_LST = "/deviceManagement/deviceType/deviceTypeSearchList";
   /** @pdOid de1b0a40-d03e-42e2-a87b-235f332e4119 */
   private static final String DT_EDT = "/deviceManagement/deviceType/deviceTypeEdit";
   /** @pdOid e018c090-11bc-4a0e-9c44-4e75fe034db0 */
   private static final String DTP_EDT = "/deviceManagement/deviceType/deviceTypePropertyEdit";
   /** @pdOid eb3dddc2-cee1-4c18-a2d1-831963a93a29 */
   private static final String DTP_VIW = "/deviceManagement/deviceType/deviceTypePropertyView";
   
   /** 查询设备类型页面初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 3efd0355-4a8c-476f-b265-d04134f4b7c2 */
   @RequestMapping(value = "/showDeviceTypeSearch.do")
   public ModelAndView handleShowDeviceTypeSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DT_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询设备类型
    * 
    * @param request 
    * @param device 
    * @param pagination
    * @pdOid 7ca8aa98-0c79-4571-9c57-b7ba12bcbed5 */
   @RequestMapping(value = "/ajaxDeviceTypeSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindDeviceTypeSearchList(HttpServletRequest request, Pagination pagination) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DT_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 维护设备类型页面初始化
    * 
    * @param request 
    * @param response 
    * @param deviceTypeId
    * @exception Exception
    * @pdOid 3b7e522e-7ead-443e-b7c8-4820dd3fb0eb */
   @RequestMapping(value = "/ajaxShowDeviceTypeEdit.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowDeviceTypeEdit(HttpServletRequest request, HttpServletResponse response, String deviceTypeId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DT_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 维护设备类型属性页面初始化
    * 
    * @param request 
    * @param response 
    * @param deviceTypeId
    * @exception Exception
    * @pdOid c63e6233-6fe8-4e43-91d6-21469492436d */
   @RequestMapping(value = "/ajaxShowDeviceTypePropertyEdit.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowDeviceTypePropertyEdit(HttpServletRequest request, HttpServletResponse response, String deviceTypeId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DTP_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查看设备类型属性页面初始化
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 27c069ce-a992-4fe0-aaae-d3943fe07796 */
   @RequestMapping(value = "/ajaxShowDeviceTypePropertyView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowDeviceTypePropertyView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DTP_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 保存设备类型
    * 
    * @param request 
    * @param response 
    * @param deviceType
    * @exception Exception
    * @pdOid 8660bb1b-e296-45fb-a92c-b873be19ddc3 */
   @RequestMapping(value = "/ajaxSaveDeviceType.do", method = RequestMethod.POST)
   public void handleAjaxSaveDeviceType(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 保存设备类型属性
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid f747df0d-5aec-4e53-97a1-03c943445817 */
   @RequestMapping(value = "/ajaxSaveDeviceTypeProperty.do", method = RequestMethod.POST)
   public void handleAjaxSaveDeviceTypeProperty(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 删除设备类型
    * 
    * @param request 
    * @param deviceTypeIds 
    * @param response
    * @exception Exception
    * @pdOid 833680eb-c5a2-4bfb-8888-8ef065421681 */
   @RequestMapping(value = "/ajaxDeleteDeviceTypeByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteDeviceTypeByIds(HttpServletRequest request, String deviceTypeIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}